import request from "@/axios";

// **************************** 关闭订单 **************************** start
// 买家申请关闭点价订单
export const customerapplycloseslideorder = option =>
  request({
    url: "/api/order/customerapplycloseslideorder",
    method: "get",
    params: option
  });

// 买家申请关闭确定价订单
export const customerapplycloseconfirmorder = option =>
  request({
    url: "/api/order/customerapplycloseconfirmorder",
    method: "get",
    params: option
  });

// 买家同意关闭点价订单
export const customeracceptcloseslideorder = option =>
  request({
    url: "/api/order/customeracceptcloseslideorder",
    method: "get",
    params: option
  });

// 买家同意关闭确定价订单
export const customeracceptcloseconfirmorder = option =>
  request({
    url: "/api/order/customeracceptcloseconfirmorder",
    method: "get",
    params: option
  });

// 买家拒绝关闭点价订单
export const customerrejectcloseslideorder = option =>
  request({
    url: "/api/order/customerrejectcloseslideorder",
    method: "get",
    params: option
  });

// 买家拒绝关闭确定价订单
export const customerrejectcloseconfirmorder = option =>
  request({
    url: "/api/order/customerrejectcloseconfirmorder",
    method: "get",
    params: option
  });

// 卖家申请关闭点价订单
export const providerapplycloseslideorder = option =>
  request({
    url: "/api/order/providerapplycloseslideorder",
    method: "get",
    params: option
  });

// 卖家申请关闭确定价订单
export const providerapplycloseconfirmorder = option =>
  request({
    url: "/api/order/providerapplycloseconfirmorder",
    method: "get",
    params: option
  });

// 卖家同意关闭点价订单
export const provideracceptcloseslideorder = option =>
  request({
    url: "/api/order/provideracceptcloseslideorder",
    method: "get",
    params: option
  });

// 卖家同意关闭确定价订单
export const provideracceptcloseconfirmorder = option =>
  request({
    url: "/api/order/provideracceptcloseconfirmorder",
    method: "get",
    params: option
  });

// 卖家拒绝关闭点价订单
export const providerrejectcloseslideorder = option =>
  request({
    url: "/api/order/providerrejectcloseslideorder",
    method: "get",
    params: option
  });

// 卖家拒绝关闭确定价订单
export const providerrejectcloseconfirmorder = option =>
  request({
    url: "/api/order/providerrejectcloseconfirmorder",
    method: "get",
    params: option
  });
// **************************** 关闭订单 **************************** end
